package com.xxxx.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xxxx.blog.entity.ArticleAttachment;

public interface ArticleAttachmentService extends IService<ArticleAttachment> {

    int create(ArticleAttachment articleAttachment);

    int delete(Integer id);

    int update(ArticleAttachment articleAttachment);

    PageInfo<ArticleAttachment> query(ArticleAttachment articleAttachment);

    ArticleAttachment detail(Integer id);

    int count(ArticleAttachment articleAttachment);
}
